micro_utils.dokka
0.9.4
jvm
micro_utils.dokka
/
dev.inmo.micro_utils.common
/
[jvm]onFirst
on
First
jvm
inline
fun
<
T1
,
T2
,
E
:
Either
<
T1
,
T2
>
>
E
.
onFirst
(
block
:
(
T1
)
->
Unit
)
:
E
Content copied to clipboard
Will call
block
in case when
this
is
EitherFirst